<?php
include("../inc/global.inc");
include("../inc/fun.php");
include("../steps.php");
$rs=@mysql_query("select * from job_mailbox where id='".$_GET['id']."' and to_id='$_COOKIE[job_user_id]'");
$row=@mysql_fetch_array($rs);
@mysql_query("update job_mailbox set is_read='1' where id='".$row['id']."'");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>邮件详细内容-三帝招聘网</title>
</head>
<style type="text/css">
<!--
.ta {
	font-size: 12px;
	color: #333333;
	border: 1px solid #ECE9D8;
}
.picbutt {
	background-image: url(images/70.gif);
	display: block;
	height: 21px;
	width: 83px;
	line-height: 21px;
	text-align: center;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
.ta td {
	padding-left: 5px;
}
-->
</style>
<body>
  <table width="721" height="54" border="0" align="center" cellpadding="0" cellspacing="1" class="ta">
    <tr>
      <td height="50" colspan="2" align="center" background="images/send1.gif"><h3>邮件详细内容</h3></td>
    </tr>
  </table>
  <table width="721" height="220" border="0" align="center" cellpadding="0" cellspacing="1" class="ta">
    <tr>
      <td width="116" height="26" align="center" bgcolor="#EBEBEA"><strong>主　题：</strong></td>
      <td width="597" bgcolor="#FFFFFF"><?=$row[box_title]?></td>
    </tr>
    <tr>
      <td height="152" align="center" valign="top" bgcolor="#EBEBEA"><strong>内　容：</strong></td>
      <td valign="top" bgcolor="#FFFFFF"><?=$row[box_text]?></td>
    </tr>
    <tr>
      <td height="36" colspan="2" align="center" bgcolor="#FAFAFA"><a href="send.php?channel=<?=urlencode($row[box_title])?>&toid=<?=$row[from_id]?>&fromid=<?=$row[to_id]?>&jobid=<?=$row[job_id]?>">回复邮件</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:window.close();">关闭窗口</a></td>
    </tr>
  </table>
</body>
</html>